package com.itheima.vo;

import com.itheima.pojo.CheckGroup;
import com.itheima.pojo.CheckItem;

import java.io.Serializable;
import java.util.List;

public class CheckGroupVo implements Serializable {
    //检查项信息
    private List<CheckItem> checkItems;
    //检查组信息
    private CheckGroup checkGroup;
    //当前检查组已经勾选的检查项的id
    private List<Integer> checkItemIds;

    public CheckGroupVo(List<CheckItem> checkItems, CheckGroup checkGroup, List<Integer> checkItemIds) {
        this.checkItems = checkItems;
        this.checkGroup = checkGroup;
        this.checkItemIds = checkItemIds;
    }

    @Override
    public String toString() {
        return "CheckGroupVo{" +
                "checkItems=" + checkItems +
                ", checkGroup=" + checkGroup +
                ", checkItemIds=" + checkItemIds +
                '}';
    }

    public List<CheckItem> getCheckItems() {
        return checkItems;
    }

    public void setCheckItems(List<CheckItem> checkItems) {
        this.checkItems = checkItems;
    }

    public CheckGroup getCheckGroup() {
        return checkGroup;
    }

    public void setCheckGroup(CheckGroup checkGroup) {
        this.checkGroup = checkGroup;
    }

    public List<Integer> getCheckItemIds() {
        return checkItemIds;
    }

    public void setCheckItemIds(List<Integer> checkItemIds) {
        this.checkItemIds = checkItemIds;
    }
}
